package com.dadie.dorm.dao;

import com.dadie.dorm.pojo.House;
import com.dadie.dorm.pojo.query.HouseQuery;

import java.util.List;

public interface IHouseDao {
    List<House> selectByPage(HouseQuery houseQuery);
    Integer selectTotalCount(HouseQuery houseQuery);

    int deleteById(int id);

    int add(House house);



    int update(House house);
    House getHouseUpdatePage(String id);

    House selectById(int id);
}
